
import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";
import Layout from "@/layout/Index.vue";
const routes:Array<RouteRecordRaw> = [
  {
    path:'/',
    name:'home',
    component:Layout
  },
  // {
  //   path:'/',
  //   name:'home',
  //   component:()=>import("views/index.vue")
  // },
]

const router = createRouter({
  history:createWebHistory(),
  routes
})

export default router